# eric7.MicroPython.WifiDialogs.WifiStatusDialog

Module implementing a dialog to show the WiFi status of the connected device.

### Global Attributes

None

### Classes

WifiStatusDialog | Class implementing a dialog to show the WiFi status of the connected device.

### Functions

None

## WifiStatusDialog

Class implementing a dialog to show the WiFi status of the connected device.

### Derived from

QDialog, Ui_WifiStatusDialog

### Class Attributes

None

### Class Methods

None

### Methods

WifiStatusDialog | Constructor
__createHeader | Private method to create a header item.
__createSubheader | Private method to create a subheader item.
__showStatus | Private slot to show the current WiFi status.

### Static Methods

None

#### WifiStatusDialog (Constructor)

WifiStatusDialog(microPython, parent=None)

Constructor

microPython (MicroPythonWidget)
  reference to the MicroPython widget
parent (QWidget (optional))
  reference to the parent widget (defaults to None)

#### WifiStatusDialog.__createHeader

__createHeader(headerText)

Private method to create a header item.

headerText (str)
  text for the header item

Return:
  reference to the created header item

Return Type:
  QTreeWidgetItem

#### WifiStatusDialog.__createSubheader

__createSubheader(parent, text, underlined=True)

Private method to create a subheader item.

parent (QTreeWidgetItem)
  reference to the parent item
text (str)
  text for the header item
underlined (bool (optional))
  flag indicating an underlined header (defaults to True)

Return:
  reference to the created header item

Return Type:
  QTreeWidgetItem

#### WifiStatusDialog.__showStatus

__showStatus()

Private slot to show the current WiFi status.

Up